-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Chrome has locked the profile #3465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
UPDATE START Same here, since yesterday (2025/02/14) without updating the package.
|
Apparently, this problem occurs when you have enabled the WhatsApp Web app lock feature. |
this should solve it, before starting the connection export const clearProfileLock = async (id) => {
try {
const lockFilePath = ClientHelper.base_path + `/${ClientHelper.session_prefix}-${id}/SingletonLock`;
const stats = fs.lstatSync(lockFilePath);
if (stats.isSymbolicLink()) {
fs.unlinkSync(lockFilePath);
}
} catch (err) {
console.log(`Clear profile lock error: ${err}`);
}
}; |
Is there an existing issue for this?
Is this a problem caused by your code, or is it specifically because of the library?
Describe the bug.
Initialize error: Failed to launch the browser process!
[29:29:0214/174332.818614:ERROR:process_singleton_posix.cc(358)] The profile appears to be in use by another Google Chrome process (30) on another computer (f524cfce0217). Chrome has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chrome.
[29:29:0214/174332.818714:ERROR:message_box_dialog.cc(190)] Unable to show message box: Google Chrome - The profile appears to be in use by another Google Chrome process (30) on another computer (f524cfce0217). Chrome has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chrome.
Expected Behavior
.
Steps to Reproduce the Bug or Issue
.
WhatsApp Account Type
Standard
Browser Type
chrome
Operation System Type
linux
Phone OS Type
android
WhatsApp-Web.js Version
last
WhatsApp Web Version
last
Node.js Version
18
Authentication Strategy
LocalAuth
Additional Context
No response
The text was updated successfully, but these errors were encountered: